
public class MiddleFactory<T> implements CarFactory<T> {

	public T getBaoMa() {
		return (T) new MiddleBaoMa();
	}

	public T getBenChi() {
		return (T) new MiddleBenChi();
	}
	
}
